<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="app">
<input type="text" v-model="num1" /> + <input type="text" v-model="num2" />=<span v-text="result"></span>
    <input type="button" v-on:click="change" value="计算"/>
</div>
<script src="dist/main.js"></script>
</body>
</html>